//
//  CustomDWGViewer.h
//  SnapCAD
//
//  Created by Developer on 2025/1/27.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface CustomDWGViewer : UIViewController

@property (nonatomic, strong) NSString *filePath;
@property (nonatomic, strong) NSString *fileName;

// 初始化方法
- (instancetype)initWithFilePath:(NSString *)filePath fileName:(NSString *)fileName;

// 静态方法，用于替代原来的CADViewer
+ (void)openDWGFile:(NSString *)filePath 
           fileName:(NSString *)fileName 
     viewController:(UIViewController *)viewController;

+ (void)pushDWGFile:(NSString *)filePath 
           fileName:(NSString *)fileName 
 navigationController:(UINavigationController *)navigationController;

@end

NS_ASSUME_NONNULL_END